Resumable HTTP uploads - #97
Draft
Yannicked wants to merge 33 commits into
Draft
Conversation
This was referenced Jun 25, 2026
This was
linked to
issues
Jul 1, 2026
Yannicked
force-pushed
the
feature/v1.3-http-resumable-upload
branch
from
July 15, 2026 11:26
39114b1 to
8d0d2b7
Compare
Merged
Yannicked
force-pushed
the
feature/v1.3-http-resumable-upload
branch
6 times, most recently
from
August 11, 2026 08:03
1b1eec0 to
5a8726c
Compare
Yannicked
force-pushed
the
feature/v1.3-http-resumable-upload
branch
from
September 1, 2026 10:04
5a8726c to
76a8199
Compare
…on tests Adds the `simdb simulation push_local` command for servers that share a file system with the client: only metadata and partition-relative storage paths are sent, and the server copies the files in a background task. Squashed from the pre-rebase history of this branch, which was authored on a stale base.
File types are already assigned at manifest time and preserved by _file_data_for_partition, so this pass was a no-op for correctly ingested simulations. Worse, the directory heuristic could promote a plain FILE entry living next to IMAS data to IMAS, after which the server rewrites its URI. It also opened every .nc file and scanned every parent directory on a shared filesystem.
Hand-rolled requests.post/requests.get bypassed the auth gating on self._server_auth, the gzip compression for large simulations payloads, and the negotiated self._api_url.
…TF resumable-upload draft
…he http partition
…th overall and per-file progress bars
str() around a missing meta value produced a truthy "None" that suppressed the server's fallback to the authenticated user.
The hand-rolled requests.post bypassed the auth gating on self._server_auth, the gzip compression for large simulations payloads, and the negotiated self._api_url. The resumable upload calls now gate auth the same way.
The two push_http docs commits on this branch edited docs/cli.md and docs/user_guide.md, both of which were removed by the docs rework that feature/v1.3-local-push-clean is based on, so they dropped out during the rebase. Port their net content into the current layout: - how-to/push-pull.md: how `push` uploads over resumable HTTP against a v1.3 remote (with the v1.2 fallback), resumption, chunk sizing via Upload-Limit, per-chunk Content-Digest, and the server-side `http` partition it stages into. - reference/server-configuration.md: `server.max_append_size` and the `http` partition. - reference/uri-schemes.md: the internal `http:///` staging URI. Also switch resumable_upload() to `:param:` docstring fields; the epydoc-style `@param` block had indented continuation lines that broke the RST parse and made the -W Sphinx build fail. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Yannicked
force-pushed
the
feature/v1.3-http-resumable-upload
branch
from
September 3, 2026 12:54
76a8199 to
1b395a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.